package com.gz.service;

import com.gz.entity.StudentQuestionTagWeights;
import com.gz.dto.StudentQuestionTagWeightsDto;
import com.gz.dto.PageData;

import java.util.List;

/**
 * (StudentQuestionTagWeights)表服务接口
 *
 * @author jhk
 * @since 2024-07-18 20:41:13
 */
public interface StudentQuestionTagWeightsService {

    /**
     * 通过ID查询单条数据
     *
     * @param studentId 主键
     * @return 实例对象
     */
    List<StudentQuestionTagWeights> queryByStuId(Integer studentId);

    /**
     * 分页查询
     *
     * @param dto 筛选条件
     * @return 查询结果
     */
    PageData queryByPage(StudentQuestionTagWeightsDto dto);
    /**
     * 分页查询
     *
     * @param dto 筛选条件
     * @return 查询结果
     */
    PageData queryStuWeitsByPage(StudentQuestionTagWeightsDto dto);
    /**
     * 分页查询
     *
     * @param dto 筛选条件
     * @return 查询结果
     */
    List<StudentQuestionTagWeights> queryAll(StudentQuestionTagWeightsDto dto);

    /**
     * 新增数据
     *
     * @param studentQuestionTagWeights 实例对象
     * @return 实例对象
     */
    StudentQuestionTagWeights insert(StudentQuestionTagWeights studentQuestionTagWeights);

    /**
     * 修改数据
     *
     * @param studentQuestionTagWeights 实例对象
     * @return 实例对象
     */
    StudentQuestionTagWeights update(StudentQuestionTagWeights studentQuestionTagWeights);

    /**
     * 通过主键删除数据
     *
     * @param studentId 主键
     * @return 是否成功
     */
    boolean deleteById(Integer studentId);

}
